$(document).ready(function(){
	
	if(!isWeiXin()){
		window.location.replace("http://a.app.qq.com/o/simple.jsp?pkgname=com.taikang.tkdoctor");
	}
	//window.location.replace("http://a.app.qq.com/o/simple.jsp?pkgname=com.taikang.tkdoctor");
});

function isWeiXin(){
	var ua = window.navigator.userAgent.toLowerCase();
	if(ua.match(/MicroMessenger/i) == 'micromessenger'){
		return true;
	}else{
		return false;
	}
}